﻿using B.S.Domain.审计字段;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.Domain.Accounts
{
    /// <summary>
    /// 用户信息
    /// </summary>
    public class Account:BaseModel
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]

        public int UserId { get; set; }
        /// <summary>
        /// 用户名称
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 密码
        /// </summary>

        public string UserPass { get; set; }
        /// <summary>
        /// 用户昵称
        /// </summary>
        public string UserNickname { get; set; }
        /// <summary>
        /// 头像
        /// </summary>
        public string Iocn { get; set; }
        /// <summary>
        /// 工厂外键
        /// </summary>
        public int factoryId {  get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public bool Sex { get; set; }
        /// <summary>
        /// 部门ID
        /// </summary>
        public int DeptId { get; set; }
    }
}
